<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <style>
			img {
				animation: car 5s linear ;
				/* transform: rotate(90deg); */
			}
			div {
				width: 200px;
				height: 200px;
				background-color: pink;
				
			}

			@keyframes car {
				0% {
					transform: translate3d(0, 0, 0);
				}
				25% {
					transform: translate3d(800px, 0, 0);

				}
				26% {
					transform: translate3d(800px, 0, 0) rotate(90deg);

				}
				50% {
					transform: translate3d(800px, 500px, 0) ;

				}
				51% {
					transform: translate3d(800px, 500px, 0) ;

				}
				75% {
					transform: translate3d(0px, 500px, 0);

				}
				76% {
					transform: translate3d(0px, 500px, 0) ;

				}
				100% {
					transform: translate3d(0px, 0, 0) ;
				}
			}
        </style>
    </head>
    <body>
    <img src="images/car.jpg"  width="200" alt="">
    <div></div>
    </body>
</html>